

#ifndef _SHELL_REQCCLOGIN_MESSAGE_H_
#define _SHELL_REQCCLOGIN_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqCCLoginMessage : public Message
{
	public:
	ReqCCLoginMessage();
	~ReqCCLoginMessage();
	void reset();
	ReqCCLoginMessage* clone();
	static const int _ID;
	//渠道类型
	int8 type;
	//用户编号
	std::string userid;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
